package cre.sample.test;

import java.util.Date;

/**
 * Created by CreGu on 2016/6/9.
 */
public class Person implements Cloneable {

    public String name;
    public int age;
    public Date birthday;

    public Person() {
    }

    public Person(String name, int age, Date birthday) {
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    @Override
    public Person clone() {
        Person p = null;
        try {
            p = (Person) super.clone();
            return p;
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return p;
    }
}
